
package ch.usi.inf.pf2.node;



import ch.usi.inf.pf2.cell.NumericValue;
import ch.usi.inf.pf2.cell.Value;


/**
 * A Constant , it just stores one double.
 * /* 
* @author Matthias.Hauswirth@unisi.ch
*/

public class Constant implements ch.usi.inf.pf2.node.Node {

	private final double number;
	
	
	public Constant(final double number) {
		this.number = number;
	}

	public NumericValue evaluate() {
		return new NumericValue(number);
	}
	
}
